<div id="submenu">
<?php
	$subpages = array(
	
	"Edit Crop/Category"=>"adminPage.php", 
	"Edit Rotation Plan"=>"EditRotation.php",
	"User Accounts"=>"UserAccounts.php",
	
	);
	
	
?>

			<ul>
			<?php
			
			foreach($subpages as $pagename => $pageURL){
				if ($thissubpage == $pagename){
					print("<li class=\"current_page_item\"><a href=\"$pageURL\">$pagename</a></li>\n");
				}else{
					print("<li><a href=\"$pageURL\">$pagename</a></li>\n");
				}
			}
			
			?>
			</ul>
			
</div>
